﻿//Created by Action Script Viewer - http://www.buraks.com/asv
package org.aswing.event {
    import flash.events.*;
    import flash.display.*;

    public class ReleaseEvent extends MouseEvent {

        public static const RELEASE:String = "release";
        public static const RELEASE_OUT_SIDE:String = "releaseOutSide";

        private var pressTarget:DisplayObject;
        private var releasedOutSide:Boolean;

        public function ReleaseEvent(_arg1:String, _arg2:DisplayObject, _arg3:Boolean, _arg4:MouseEvent){
            super(_arg1, false, false, _arg4.localX, _arg4.localY, _arg4.relatedObject, _arg4.ctrlKey, _arg4.altKey, _arg4.shiftKey, _arg4.buttonDown);
            this.pressTarget = _arg2;
            this.releasedOutSide = _arg3;
        }
        public function getPressTarget():DisplayObject{
            return (this.pressTarget);
        }
        public function isReleasedOutSide():Boolean{
            return (this.releasedOutSide);
        }
        override public function clone():Event{
            return (new ReleaseEvent(type, this.getPressTarget(), this.isReleasedOutSide(), this));
        }

    }
}//package org.aswing.event 
